/**
 * Project Name:YCApiServer-dao
 * File Name:YueshuoCommentMapper.java
 * Package Name:com.yc.music.mapper
 * Date:2016年09月26日
 * Copyright (c) 2016 
 *
 */
package com.yc.music.mapper.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yc.music.model.comment.YcComment;
import com.yc.music.model.musicYueShuo.YueshuoComment;
import com.yc.music.model.musicYueShuo.YueshuoCommentVo;
/**
 * 
 * ClassName: YueshuoCommentMapper <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年9月26日 上午11:35:09 <br/>
 *
 * @author qinhaiguan
 * @version
 */

public interface YueshuoCommentMapper {
	
	
	public int getYueshuoCommentCount(@Param("yueshuoid") long yueshuoid)throws Exception;
	
	public int getYueshuoCommentId(YcComment comment)throws Exception;
	
	public void  saveYueshuoComment(YcComment comment)throws Exception;
	
	public void  deleteYueshuoComment(@Param("id") long id,@Param("yueshuoid") long yueshuoid)throws Exception;
	
	public List<YueshuoCommentVo>  getYueshuoCommentPage(@Param("yueshuoid") long yueshuoid, @Param("start") int start,
			@Param("size") int size)throws Exception;

}
